adb reboot bootloader
fastboot  flash boot_a boot.img
fastboot  flash vendor_a vendor.img
fastboot  flash system_a system.img
fastboot  --set-active=a
fastboot  reboot